<template>
  <div class="table-box">
    <!-- <edit-table
      ref="editTableRef"
      v-model:tableData="tableData"
      v-model:tableColumn="tableColumn.formTemplateFieldVOList"
      :rules="rules"
    ></edit-table> -->
  </div>
</template>

<script setup>
// import { ref } from 'vue'
// import editTable from 'components/edit-table'
// import { tableColumn, rules } from './json.js'

// const tableData = ref([])
// const editTableRef = ref(null)
// // 暂存
// const saveRow = (row, item) => {
//   row.isEdit = false
// }
// // 删除
// const delRow = (row, item) => {
//   tableData.value.splice(tableData.value.indexOf(row), 1)
// }
// // 新增
// const addRow = () => {
//   editTableRef.value.addRow()
// }
// const switchChange = (val) => {
//   editTableRef.value.switchChange(val)
// }
</script>

<style lang="scss"></style>

<style lang="scss" scoped></style>
